﻿namespace DesignPattern.com.observer {
    /// <summary>
    /// 主题A
    /// </summary>
    public class SubjectA : ISubject {
        private string _state;

        public string State {
            get { return _state; }
            set {
                _state = value;
                Notify();
            }
        }
    }
}